package com.example.http.demo.service;

import com.example.http.demo.dto.SaveApiKeyDTO;
import com.example.http.demo.dto.UpdateApiKeyDTO;
import com.example.http.demo.model.TblApiKey;

public interface ApiKeyService {


    /**
     * 保存api key
     *
     * @param saveApiKeyDTO
     */
    void saveApiKey(SaveApiKeyDTO saveApiKeyDTO);

    /**
     * 更新api_key
     *
     * @param updateApiKeyDTO
     */
    void updateApiKey(UpdateApiKeyDTO updateApiKeyDTO);

    TblApiKey selectApiKey();
}
